var express = require('express');
var router = express.Router();
const Users = require('../usersMode/usersMode');

router.get('/list', Users.list);

router.post('/add', Users.add);
router.post('/del', Users.del);
router.post('/pud', Users.pud);

router.post('/login', Users.login);
router.post('/add_user', Users.add_user);

router.get('/add_list', Users.add_list);

router.post('/add_album', Users.add_album);

router.post('/del_album', Users.del_album);

router.post('/pud_album', Users.pud_album);
router.post('/sel_album', Users.sel_album);
router.post('/add_img', Users.add_img);
router.post('/del_img', Users.del_img);



router.get('/get_app', Users.get_app);

router.post('/add_app', Users.add_app);
router.post('/del_app', Users.del_app);

router.get('/get_reply', Users.get_reply);

router.post('/add_reply', Users.add_reply);
module.exports = router;


